public class FighterJet {
    String type;        // 飞机类型
    String designation; // 飞机代号
    int crewCapacity;   // 载人数量
    String propulsion;  // 制动方式
    String mission;// 任务

    public String getType() {
        return type;
    }
    public String getPropulsion() {
        return propulsion;
    }

    public void setPropulsion(String propulsion) {
        this.propulsion = propulsion;
    }

    public String getDesignation() {
        return designation;
    }

    public void setDesignation(String designation) {
        this.designation = designation;
    }

    public String getMission() {
        return mission;
    }

    public void setMission(String mission) {
        this.mission = mission;
    }

    public int getCrewCapacity() {
        return crewCapacity;
    }

    public void setCrewCapacity(int crewCapacity) {
        this.crewCapacity = crewCapacity;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void executeMission(){
        System.out.println("各自执行任务：");
    }
}


